<template>
  <div class="app-container">
    <analyze></analyze>
    <el-tabs v-model="activeName" type="border-card">
      <el-tab-pane label="实时薪酬" name="0">
        <real-time v-if="activeName == 0"></real-time>
      </el-tab-pane>
      <el-tab-pane label="累计薪酬" name="1">
        <cumulative-salary v-if="activeName == 1"></cumulative-salary>
      </el-tab-pane>
      <el-tab-pane label="工资统计" name="2">
        <salary-statistics v-if="activeName == 2"></salary-statistics>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
 
<script>
import analyze from './analyze.vue';
// 实时薪酬
import realTime from "./realTime.vue";
// 累计薪酬
import cumulativeSalary from "./cumulativeSalary.vue";
// 工资统计
import salaryStatistics from "./salaryStatistics.vue";

export default {
  name: "CldPayDetails",
  components: {
    analyze,
    realTime,
    cumulativeSalary,
    salaryStatistics
  },
  data() {
    return {
      activeName: '0'
    };
  },
  created() {
  },
  methods: {
  }
};
</script>
